package org.linlinjava.litemall.admin.vo.orderstatistics;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(description = "订单列表分页")
public class HourStatisticsLineReqVO {

    @ApiModelProperty(value = "门店", example = "1")
    @NotNull
    private Integer shopId;

    @ApiModelProperty(value = "对比日期", example = "2021-07-01")
    @NotEmpty(message = "对比日期集合不能为空且长度不能为0")
    private List<String> searchDateList;

    @ApiModelProperty(value = "时间间隔", example = "1")
    @NotNull
    private Integer time;

}
